home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CEDITOR_ / CEDITORT.H < prev    next >
Text File  |  1990-06-04  |  658b  |  28 lines

  1. /******************************************************************************
  2.  CEditorTask.h
  3.         Interface for the EditorTask Class
  4.  ******************************************************************************/
  5.  
  6. #define _H_CEditorTask
  7.  
  8. #include <CTask.h>
  9. #include "CEditorPane.h"
  10.  
  11. struct CEditorTask : CTask
  12. {
  13.     struct CEditorPane    *itsEditorPane;
  14.     long                itsCommand;
  15.     long                startSel, end1Sel, end2Sel;
  16.     Handle                itsBuffer;
  17.     Boolean                hasData;
  18.     
  19.     void IEditorTask(struct CEditorPane *theEditorPane,
  20.                         int firstNameIndex, long theCommand);
  21.     void Dispose(void);
  22.                         
  23.     void Do(void);
  24.     void Undo(void);
  25.     void Redo(void);
  26.  
  27.     void Typing(int    offset);
  28. };